// Fill out your copyright notice in the Description page of Project Settings.

#include "ModelX.h"
#include "Components/StaticMeshComponent.h"

// Sets default values
AModelX::AModelX()
{
 	// Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
	PrimaryActorTick.bCanEverTick = true;
	//staticmessh = CreateDefaultSubobject<UStaticMeshComponent>("Mesh");
	//this->RootComponent = staticmessh;
	this->ClassName =GetChildClass();
}

// Called when the game starts or when spawned
void AModelX::BeginPlay()
{
	Super::BeginPlay();	
}


// Called every frame
void AModelX::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);

}

UClass* AModelX::GetChildClass()
{
	return GetClass();
}

